package vn.mobiistar.videoapp.activity;

import android.content.Context;
import android.os.Bundle;
import android.view.inputmethod.InputMethodManager;

import com.jeremyfeinstein.slidingmenu.lib.app.SlidingFragmentActivity;

public class BaseActivity extends SlidingFragmentActivity {
	
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		 
	 
	}
	
	private void forceHideSoftKeyboard(){
		try{
			InputMethodManager input = (InputMethodManager)getSystemService( Context.INPUT_METHOD_SERVICE);
		      if ((getCurrentFocus() != null) && (input != null))
		        input.hideSoftInputFromWindow(getCurrentFocus().getWindowToken(), 2);
		}catch(Exception e){
			
		}
	}
}
